package com.rustic.server.po;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
  import java.util.Date;
import lombok.Data;

/**
 * 表[user_browse_link]对应实体类
 *
 * @author auto
 *
 */

@Data
@TableName(value = "`user_browse_link`")
@ApiModel(value = "表user_browse_link的实体类")
public class UserBrowseLink {

    /**
     * 自增ID
     */
    @ApiModelProperty(value = "自增ID", dataType = "Integer")
    @TableId(value="`id`",type = IdType.AUTO)
    private Integer id;

    /**
     * 具体目标id根据type确认(如乡村id,活动id,景点id,美食id)
     */
    @ApiModelProperty(value = "具体目标id根据type确认(如乡村id,活动id,景点id,美食id)", dataType = "int")
    @TableField("`target_id`")
    private int targetId;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", dataType = "int")
    @TableField("`user_id`")
    private int userId;

    /**
     * 关联乡村id
     */
    @ApiModelProperty(value = "关联乡村id", dataType = "int")
    @TableField("`rustic_id`")
    private int rusticId;

    /**
     * 类型(1乡村 2活动 3景点 4美食 5攻略)
     */
    @ApiModelProperty(value = "类型(1乡村 2活动 3景点 4美食 5攻略)", dataType = "int")
    @TableField("`type`")
    private int type;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", dataType = "Date")
    @TableField("`create_time`")
    private Date createTime;

}
